function Vn(e, t) {
  const n = /* @__PURE__ */ Object.create(null), r = e.split(",");
  for (let o = 0; o < r.length; o++)
    n[r[o]] = !0;
  return t ? (o) => !!n[o.toLowerCase()] : (o) => !!n[o];
}
const A = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {}, Cn = process.env.NODE_ENV !== "production" ? Object.freeze([]) : [], Mt = () => {
}, $n = /^on[^a-z]/, Dn = (e) => $n.test(e), D = Object.assign, In = (e, t) => {
  const n = e.indexOf(t);
  n > -1 && e.splice(n, 1);
}, Rn = Object.prototype.hasOwnProperty, E = (e, t) => Rn.call(e, t), d = Array.isArray, W = (e) => Ae(e) === "[object Map]", At = (e) => Ae(e) === "[object Set]", w = (e) => typeof e == "function", $ = (e) => typeof e == "string", ke = (e) => typeof e == "symbol", N = (e) => e !== null && typeof e == "object", Pn = (e) => N(e) && w(e.then) && w(e.catch), Ft = Object.prototype.toString, Ae = (e) => Ft.call(e), jt = (e) => Ae(e).slice(8, -1), zt = (e) => Ae(e) === "[object Object]", et = (e) => $(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, Kt = (e) => {
  const t = /* @__PURE__ */ Object.create(null);
  return (n) => t[n] || (t[n] = e(n));
}, Tn = /-(\w)/g, Ve = Kt((e) => e.replace(Tn, (t, n) => n ? n.toUpperCase() : "")), Ce = Kt(
  (e) => e.charAt(0).toUpperCase() + e.slice(1)
), $e = (e, t) => !Object.is(e, t), Mn = (e, t, n) => {
  Object.defineProperty(e, t, {
    configurable: !0,
    enumerable: !1,
    value: n
  });
};
let ht;
const He = () => ht || (ht = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
function tt(e) {
  if (d(e)) {
    const t = {};
    for (let n = 0; n < e.length; n++) {
      const r = e[n], o = $(r) ? zn(r) : tt(r);
      if (o)
        for (const s in o)
          t[s] = o[s];
    }
    return t;
  } else {
    if ($(e))
      return e;
    if (N(e))
      return e;
  }
}
const An = /;(?![^(]*\))/g, Fn = /:([^]+)/, jn = /\/\*[^]*?\*\//g;
function zn(e) {
  const t = {};
  return e.replace(jn, "").split(An).forEach((n) => {
    if (n) {
      const r = n.split(Fn);
      r.length > 1 && (t[r[0].trim()] = r[1].trim());
    }
  }), t;
}
function nt(e) {
  let t = "";
  if ($(e))
    t = e;
  else if (d(e))
    for (let n = 0; n < e.length; n++) {
      const r = nt(e[n]);
      r && (t += r + " ");
    }
  else if (N(e))
    for (const n in e)
      e[n] && (t += n + " ");
  return t.trim();
}
const Se = (e) => $(e) ? e : e == null ? "" : d(e) || N(e) && (e.toString === Ft || !w(e.toString)) ? JSON.stringify(e, Ht, 2) : String(e), Ht = (e, t) => t && t.__v_isRef ? Ht(e, t.value) : W(t) ? {
  [`Map(${t.size})`]: [...t.entries()].reduce((n, [r, o]) => (n[`${r} =>`] = o, n), {})
} : At(t) ? {
  [`Set(${t.size})`]: [...t.values()]
} : N(t) && !d(t) && !zt(t) ? String(t) : t;
function _t(e, ...t) {
  console.warn(`[Vue warn] ${e}`, ...t);
}
let Bt;
function Kn(e, t = Bt) {
  t && t.active && t.effects.push(e);
}
function Hn() {
  return Bt;
}
const Be = (e) => {
  const t = new Set(e);
  return t.w = 0, t.n = 0, t;
}, Ut = (e) => (e.w & K) > 0, Wt = (e) => (e.n & K) > 0, Bn = ({ deps: e }) => {
  if (e.length)
    for (let t = 0; t < e.length; t++)
      e[t].w |= K;
}, Un = (e) => {
  const { deps: t } = e;
  if (t.length) {
    let n = 0;
    for (let r = 0; r < t.length; r++) {
      const o = t[r];
      Ut(o) && !Wt(o) ? o.delete(e) : t[n++] = o, o.w &= ~K, o.n &= ~K;
    }
    t.length = n;
  }
}, Ue = /* @__PURE__ */ new WeakMap();
let se = 0, K = 1;
const We = 30;
let v;
const J = Symbol(process.env.NODE_ENV !== "production" ? "iterate" : ""), Je = Symbol(process.env.NODE_ENV !== "production" ? "Map key iterate" : "");
class Wn {
  constructor(t, n = null, r) {
    this.fn = t, this.scheduler = n, this.active = !0, this.deps = [], this.parent = void 0, Kn(this, r);
  }
  run() {
    if (!this.active)
      return this.fn();
    let t = v, n = q;
    for (; t; ) {
      if (t === this)
        return;
      t = t.parent;
    }
    try {
      return this.parent = v, v = this, q = !0, K = 1 << ++se, se <= We ? Bn(this) : gt(this), this.fn();
    } finally {
      se <= We && Un(this), K = 1 << --se, v = this.parent, q = n, this.parent = void 0, this.deferStop && this.stop();
    }
  }
  stop() {
    v === this ? this.deferStop = !0 : this.active && (gt(this), this.onStop && this.onStop(), this.active = !1);
  }
}
function gt(e) {
  const { deps: t } = e;
  if (t.length) {
    for (let n = 0; n < t.length; n++)
      t[n].delete(e);
    t.length = 0;
  }
}
let q = !0;
const Jt = [];
function qt() {
  Jt.push(q), q = !1;
}
function Lt() {
  const e = Jt.pop();
  q = e === void 0 ? !0 : e;
}
function O(e, t, n) {
  if (q && v) {
    let r = Ue.get(e);
    r || Ue.set(e, r = /* @__PURE__ */ new Map());
    let o = r.get(n);
    o || r.set(n, o = Be());
    const s = process.env.NODE_ENV !== "production" ? { effect: v, target: e, type: t, key: n } : void 0;
    Jn(o, s);
  }
}
function Jn(e, t) {
  let n = !1;
  se <= We ? Wt(e) || (e.n |= K, n = !Ut(e)) : n = !e.has(v), n && (e.add(v), v.deps.push(e), process.env.NODE_ENV !== "production" && v.onTrack && v.onTrack(
    D(
      {
        effect: v
      },
      t
    )
  ));
}
function H(e, t, n, r, o, s) {
  const i = Ue.get(e);
  if (!i)
    return;
  let c = [];
  if (t === "clear")
    c = [...i.values()];
  else if (n === "length" && d(e)) {
    const a = Number(r);
    i.forEach((h, l) => {
      (l === "length" || l >= a) && c.push(h);
    });
  } else
    switch (n !== void 0 && c.push(i.get(n)), t) {
      case "add":
        d(e) ? et(n) && c.push(i.get("length")) : (c.push(i.get(J)), W(e) && c.push(i.get(Je)));
        break;
      case "delete":
        d(e) || (c.push(i.get(J)), W(e) && c.push(i.get(Je)));
        break;
      case "set":
        W(e) && c.push(i.get(J));
        break;
    }
  const u = process.env.NODE_ENV !== "production" ? { target: e, type: t, key: n, newValue: r, oldValue: o, oldTarget: s } : void 0;
  if (c.length === 1)
    c[0] && (process.env.NODE_ENV !== "production" ? _e(c[0], u) : _e(c[0]));
  else {
    const a = [];
    for (const h of c)
      h && a.push(...h);
    process.env.NODE_ENV !== "production" ? _e(Be(a), u) : _e(Be(a));
  }
}
function _e(e, t) {
  const n = d(e) ? e : [...e];
  for (const r of n)
    r.computed && mt(r, t);
  for (const r of n)
    r.computed || mt(r, t);
}
function mt(e, t) {
  (e !== v || e.allowRecurse) && (process.env.NODE_ENV !== "production" && e.onTrigger && e.onTrigger(D({ effect: e }, t)), e.scheduler ? e.scheduler() : e.run());
}
const qn = /* @__PURE__ */ Vn("__proto__,__v_isRef,__isVue"), Gt = new Set(
  /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(ke)
), Ln = /* @__PURE__ */ rt(), Gn = /* @__PURE__ */ rt(!0), Yn = /* @__PURE__ */ rt(!0, !0), Et = /* @__PURE__ */ Qn();
function Qn() {
  const e = {};
  return ["includes", "indexOf", "lastIndexOf"].forEach((t) => {
    e[t] = function(...n) {
      const r = p(this);
      for (let s = 0, i = this.length; s < i; s++)
        O(r, "get", s + "");
      const o = r[t](...n);
      return o === -1 || o === !1 ? r[t](...n.map(p)) : o;
    };
  }), ["push", "pop", "shift", "unshift", "splice"].forEach((t) => {
    e[t] = function(...n) {
      qt();
      const r = p(this)[t].apply(this, n);
      return Lt(), r;
    };
  }), e;
}
function Xn(e) {
  const t = p(this);
  return O(t, "has", e), t.hasOwnProperty(e);
}
function rt(e = !1, t = !1) {
  return function(r, o, s) {
    if (o === "__v_isReactive")
      return !e;
    if (o === "__v_isReadonly")
      return e;
    if (o === "__v_isShallow")
      return t;
    if (o === "__v_raw" && s === (e ? t ? kt : Zt : t ? dr : Xt).get(r))
      return r;
    const i = d(r);
    if (!e) {
      if (i && E(Et, o))
        return Reflect.get(Et, o, s);
      if (o === "hasOwnProperty")
        return Xn;
    }
    const c = Reflect.get(r, o, s);
    return (ke(o) ? Gt.has(o) : qn(o)) || (e || O(r, "get", o), t) ? c : x(c) ? i && et(o) ? c : c.value : N(c) ? e ? tn(c) : en(c) : c;
  };
}
const Zn = /* @__PURE__ */ kn();
function kn(e = !1) {
  return function(n, r, o, s) {
    let i = n[r];
    if (Q(i) && x(i) && !x(o))
      return !1;
    if (!e && (!qe(o) && !Q(o) && (i = p(i), o = p(o)), !d(n) && x(i) && !x(o)))
      return i.value = o, !0;
    const c = d(n) && et(r) ? Number(r) < n.length : E(n, r), u = Reflect.set(n, r, o, s);
    return n === p(s) && (c ? $e(o, i) && H(n, "set", r, o, i) : H(n, "add", r, o)), u;
  };
}
function er(e, t) {
  const n = E(e, t), r = e[t], o = Reflect.deleteProperty(e, t);
  return o && n && H(e, "delete", t, void 0, r), o;
}
function tr(e, t) {
  const n = Reflect.has(e, t);
  return (!ke(t) || !Gt.has(t)) && O(e, "has", t), n;
}
function nr(e) {
  return O(e, "iterate", d(e) ? "length" : J), Reflect.ownKeys(e);
}
const rr = {
  get: Ln,
  set: Zn,
  deleteProperty: er,
  has: tr,
  ownKeys: nr
}, Yt = {
  get: Gn,
  set(e, t) {
    return process.env.NODE_ENV !== "production" && _t(
      `Set operation on key "${String(t)}" failed: target is readonly.`,
      e
    ), !0;
  },
  deleteProperty(e, t) {
    return process.env.NODE_ENV !== "production" && _t(
      `Delete operation on key "${String(t)}" failed: target is readonly.`,
      e
    ), !0;
  }
}, or = /* @__PURE__ */ D(
  {},
  Yt,
  {
    get: Yn
  }
), ot = (e) => e, Fe = (e) => Reflect.getPrototypeOf(e);
function ge(e, t, n = !1, r = !1) {
  e = e.__v_raw;
  const o = p(e), s = p(t);
  n || (t !== s && O(o, "get", t), O(o, "get", s));
  const { has: i } = Fe(o), c = r ? ot : n ? lt : ct;
  if (i.call(o, t))
    return c(e.get(t));
  if (i.call(o, s))
    return c(e.get(s));
  e !== o && e.get(t);
}
function me(e, t = !1) {
  const n = this.__v_raw, r = p(n), o = p(e);
  return t || (e !== o && O(r, "has", e), O(r, "has", o)), e === o ? n.has(e) : n.has(e) || n.has(o);
}
function Ee(e, t = !1) {
  return e = e.__v_raw, !t && O(p(e), "iterate", J), Reflect.get(e, "size", e);
}
function bt(e) {
  e = p(e);
  const t = p(this);
  return Fe(t).has.call(t, e) || (t.add(e), H(t, "add", e, e)), this;
}
function Nt(e, t) {
  t = p(t);
  const n = p(this), { has: r, get: o } = Fe(n);
  let s = r.call(n, e);
  s ? process.env.NODE_ENV !== "production" && Qt(n, r, e) : (e = p(e), s = r.call(n, e));
  const i = o.call(n, e);
  return n.set(e, t), s ? $e(t, i) && H(n, "set", e, t, i) : H(n, "add", e, t), this;
}
function wt(e) {
  const t = p(this), { has: n, get: r } = Fe(t);
  let o = n.call(t, e);
  o ? process.env.NODE_ENV !== "production" && Qt(t, n, e) : (e = p(e), o = n.call(t, e));
  const s = r ? r.call(t, e) : void 0, i = t.delete(e);
  return o && H(t, "delete", e, void 0, s), i;
}
function Ot() {
  const e = p(this), t = e.size !== 0, n = process.env.NODE_ENV !== "production" ? W(e) ? new Map(e) : new Set(e) : void 0, r = e.clear();
  return t && H(e, "clear", void 0, void 0, n), r;
}
function be(e, t) {
  return function(r, o) {
    const s = this, i = s.__v_raw, c = p(i), u = t ? ot : e ? lt : ct;
    return !e && O(c, "iterate", J), i.forEach((a, h) => r.call(o, u(a), u(h), s));
  };
}
function Ne(e, t, n) {
  return function(...r) {
    const o = this.__v_raw, s = p(o), i = W(s), c = e === "entries" || e === Symbol.iterator && i, u = e === "keys" && i, a = o[e](...r), h = n ? ot : t ? lt : ct;
    return !t && O(
      s,
      "iterate",
      u ? Je : J
    ), {
      // iterator protocol
      next() {
        const { value: l, done: f } = a.next();
        return f ? { value: l, done: f } : {
          value: c ? [h(l[0]), h(l[1])] : h(l),
          done: f
        };
      },
      // iterable protocol
      [Symbol.iterator]() {
        return this;
      }
    };
  };
}
function F(e) {
  return function(...t) {
    if (process.env.NODE_ENV !== "production") {
      const n = t[0] ? `on key "${t[0]}" ` : "";
      console.warn(
        `${Ce(e)} operation ${n}failed: target is readonly.`,
        p(this)
      );
    }
    return e === "delete" ? !1 : this;
  };
}
function sr() {
  const e = {
    get(s) {
      return ge(this, s);
    },
    get size() {
      return Ee(this);
    },
    has: me,
    add: bt,
    set: Nt,
    delete: wt,
    clear: Ot,
    forEach: be(!1, !1)
  }, t = {
    get(s) {
      return ge(this, s, !1, !0);
    },
    get size() {
      return Ee(this);
    },
    has: me,
    add: bt,
    set: Nt,
    delete: wt,
    clear: Ot,
    forEach: be(!1, !0)
  }, n = {
    get(s) {
      return ge(this, s, !0);
    },
    get size() {
      return Ee(this, !0);
    },
    has(s) {
      return me.call(this, s, !0);
    },
    add: F("add"),
    set: F("set"),
    delete: F("delete"),
    clear: F("clear"),
    forEach: be(!0, !1)
  }, r = {
    get(s) {
      return ge(this, s, !0, !0);
    },
    get size() {
      return Ee(this, !0);
    },
    has(s) {
      return me.call(this, s, !0);
    },
    add: F("add"),
    set: F("set"),
    delete: F("delete"),
    clear: F("clear"),
    forEach: be(!0, !0)
  };
  return ["keys", "values", "entries", Symbol.iterator].forEach((s) => {
    e[s] = Ne(
      s,
      !1,
      !1
    ), n[s] = Ne(
      s,
      !0,
      !1
    ), t[s] = Ne(
      s,
      !1,
      !0
    ), r[s] = Ne(
      s,
      !0,
      !0
    );
  }), [
    e,
    n,
    t,
    r
  ];
}
const [
  ir,
  cr,
  lr,
  ur
] = /* @__PURE__ */ sr();
function st(e, t) {
  const n = t ? e ? ur : lr : e ? cr : ir;
  return (r, o, s) => o === "__v_isReactive" ? !e : o === "__v_isReadonly" ? e : o === "__v_raw" ? r : Reflect.get(
    E(n, o) && o in r ? n : r,
    o,
    s
  );
}
const ar = {
  get: /* @__PURE__ */ st(!1, !1)
}, fr = {
  get: /* @__PURE__ */ st(!0, !1)
}, pr = {
  get: /* @__PURE__ */ st(!0, !0)
};
function Qt(e, t, n) {
  const r = p(n);
  if (r !== n && t.call(e, r)) {
    const o = jt(e);
    console.warn(
      `Reactive ${o} contains both the raw and reactive versions of the same object${o === "Map" ? " as keys" : ""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`
    );
  }
}
const Xt = /* @__PURE__ */ new WeakMap(), dr = /* @__PURE__ */ new WeakMap(), Zt = /* @__PURE__ */ new WeakMap(), kt = /* @__PURE__ */ new WeakMap();
function hr(e) {
  switch (e) {
    case "Object":
    case "Array":
      return 1;
    case "Map":
    case "Set":
    case "WeakMap":
    case "WeakSet":
      return 2;
    default:
      return 0;
  }
}
function _r(e) {
  return e.__v_skip || !Object.isExtensible(e) ? 0 : hr(jt(e));
}
function en(e) {
  return Q(e) ? e : it(
    e,
    !1,
    rr,
    ar,
    Xt
  );
}
function tn(e) {
  return it(
    e,
    !0,
    Yt,
    fr,
    Zt
  );
}
function we(e) {
  return it(
    e,
    !0,
    or,
    pr,
    kt
  );
}
function it(e, t, n, r, o) {
  if (!N(e))
    return process.env.NODE_ENV !== "production" && console.warn(`value cannot be made reactive: ${String(e)}`), e;
  if (e.__v_raw && !(t && e.__v_isReactive))
    return e;
  const s = o.get(e);
  if (s)
    return s;
  const i = _r(e);
  if (i === 0)
    return e;
  const c = new Proxy(
    e,
    i === 2 ? r : n
  );
  return o.set(e, c), c;
}
function L(e) {
  return Q(e) ? L(e.__v_raw) : !!(e && e.__v_isReactive);
}
function Q(e) {
  return !!(e && e.__v_isReadonly);
}
function qe(e) {
  return !!(e && e.__v_isShallow);
}
function Le(e) {
  return L(e) || Q(e);
}
function p(e) {
  const t = e && e.__v_raw;
  return t ? p(t) : e;
}
function gr(e) {
  return Mn(e, "__v_skip", !0), e;
}
const ct = (e) => N(e) ? en(e) : e, lt = (e) => N(e) ? tn(e) : e;
function x(e) {
  return !!(e && e.__v_isRef === !0);
}
function k(e) {
  return x(e) ? e.value : e;
}
const mr = {
  get: (e, t, n) => k(Reflect.get(e, t, n)),
  set: (e, t, n, r) => {
    const o = e[t];
    return x(o) && !x(n) ? (o.value = n, !0) : Reflect.set(e, t, n, r);
  }
};
function Er(e) {
  return L(e) ? e : new Proxy(e, mr);
}
const G = [];
function br(e) {
  G.push(e);
}
function Nr() {
  G.pop();
}
function _(e, ...t) {
  if (process.env.NODE_ENV === "production")
    return;
  qt();
  const n = G.length ? G[G.length - 1].component : null, r = n && n.appContext.config.warnHandler, o = wr();
  if (r)
    Y(
      r,
      n,
      11,
      [
        e + t.join(""),
        n && n.proxy,
        o.map(
          ({ vnode: s }) => `at <${yn(n, s.type)}>`
        ).join(`
`),
        o
      ]
    );
  else {
    const s = [`[Vue warn]: ${e}`, ...t];
    o.length && s.push(`
`, ...Or(o)), console.warn(...s);
  }
  Lt();
}
function wr() {
  let e = G[G.length - 1];
  if (!e)
    return [];
  const t = [];
  for (; e; ) {
    const n = t[0];
    n && n.vnode === e ? n.recurseCount++ : t.push({
      vnode: e,
      recurseCount: 0
    });
    const r = e.component && e.component.parent;
    e = r && r.vnode;
  }
  return t;
}
function Or(e) {
  const t = [];
  return e.forEach((n, r) => {
    t.push(...r === 0 ? [] : [`
`], ...yr(n));
  }), t;
}
function yr({ vnode: e, recurseCount: t }) {
  const n = t > 0 ? `... (${t} recursive calls)` : "", r = e.component ? e.component.parent == null : !1, o = ` at <${yn(
    e.component,
    e.type,
    r
  )}`, s = ">" + n;
  return e.props ? [o, ...Sr(e.props), s] : [o + s];
}
function Sr(e) {
  const t = [], n = Object.keys(e);
  return n.slice(0, 3).forEach((r) => {
    t.push(...nn(r, e[r]));
  }), n.length > 3 && t.push(" ..."), t;
}
function nn(e, t, n) {
  return $(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : x(t) ? (t = nn(e, p(t.value), !0), n ? t : [`${e}=Ref<`, t, ">"]) : w(t) ? [`${e}=fn${t.name ? `<${t.name}>` : ""}`] : (t = p(t), n ? t : [`${e}=`, t]);
}
const rn = {
  sp: "serverPrefetch hook",
  bc: "beforeCreate hook",
  c: "created hook",
  bm: "beforeMount hook",
  m: "mounted hook",
  bu: "beforeUpdate hook",
  u: "updated",
  bum: "beforeUnmount hook",
  um: "unmounted hook",
  a: "activated hook",
  da: "deactivated hook",
  ec: "errorCaptured hook",
  rtc: "renderTracked hook",
  rtg: "renderTriggered hook",
  0: "setup function",
  1: "render function",
  2: "watcher getter",
  3: "watcher callback",
  4: "watcher cleanup function",
  5: "native event handler",
  6: "component event handler",
  7: "vnode hook",
  8: "directive hook",
  9: "transition hook",
  10: "app errorHandler",
  11: "app warnHandler",
  12: "ref function",
  13: "async component loader",
  14: "scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core"
};
function Y(e, t, n, r) {
  let o;
  try {
    o = r ? e(...r) : e();
  } catch (s) {
    on(s, t, n);
  }
  return o;
}
function Ge(e, t, n, r) {
  if (w(e)) {
    const s = Y(e, t, n, r);
    return s && Pn(s) && s.catch((i) => {
      on(i, t, n);
    }), s;
  }
  const o = [];
  for (let s = 0; s < e.length; s++)
    o.push(Ge(e[s], t, n, r));
  return o;
}
function on(e, t, n, r = !0) {
  const o = t ? t.vnode : null;
  if (t) {
    let s = t.parent;
    const i = t.proxy, c = process.env.NODE_ENV !== "production" ? rn[n] : n;
    for (; s; ) {
      const a = s.ec;
      if (a) {
        for (let h = 0; h < a.length; h++)
          if (a[h](e, i, c) === !1)
            return;
      }
      s = s.parent;
    }
    const u = t.appContext.config.errorHandler;
    if (u) {
      Y(
        u,
        null,
        10,
        [e, i, c]
      );
      return;
    }
  }
  xr(e, n, o, r);
}
function xr(e, t, n, r = !0) {
  if (process.env.NODE_ENV !== "production") {
    const o = rn[t];
    if (n && br(n), _(`Unhandled error${o ? ` during execution of ${o}` : ""}`), n && Nr(), r)
      throw e;
    console.error(e);
  } else
    console.error(e);
}
let De = !1, Ye = !1;
const R = [];
let z = 0;
const te = [];
let T = null, j = 0;
const sn = /* @__PURE__ */ Promise.resolve();
let ut = null;
const vr = 100;
function Vr(e) {
  const t = ut || sn;
  return e ? t.then(this ? e.bind(this) : e) : t;
}
function Cr(e) {
  let t = z + 1, n = R.length;
  for (; t < n; ) {
    const r = t + n >>> 1;
    fe(R[r]) < e ? t = r + 1 : n = r;
  }
  return t;
}
function at(e) {
  (!R.length || !R.includes(
    e,
    De && e.allowRecurse ? z + 1 : z
  )) && (e.id == null ? R.push(e) : R.splice(Cr(e.id), 0, e), cn());
}
function cn() {
  !De && !Ye && (Ye = !0, ut = sn.then(un));
}
function ln(e) {
  d(e) ? te.push(...e) : (!T || !T.includes(
    e,
    e.allowRecurse ? j + 1 : j
  )) && te.push(e), cn();
}
function $r(e) {
  if (te.length) {
    const t = [...new Set(te)];
    if (te.length = 0, T) {
      T.push(...t);
      return;
    }
    for (T = t, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), T.sort((n, r) => fe(n) - fe(r)), j = 0; j < T.length; j++)
      process.env.NODE_ENV !== "production" && an(e, T[j]) || T[j]();
    T = null, j = 0;
  }
}
const fe = (e) => e.id == null ? 1 / 0 : e.id, Dr = (e, t) => {
  const n = fe(e) - fe(t);
  if (n === 0) {
    if (e.pre && !t.pre)
      return -1;
    if (t.pre && !e.pre)
      return 1;
  }
  return n;
};
function un(e) {
  Ye = !1, De = !0, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), R.sort(Dr);
  const t = process.env.NODE_ENV !== "production" ? (n) => an(e, n) : Mt;
  try {
    for (z = 0; z < R.length; z++) {
      const n = R[z];
      if (n && n.active !== !1) {
        if (process.env.NODE_ENV !== "production" && t(n))
          continue;
        Y(n, null, 14);
      }
    }
  } finally {
    z = 0, R.length = 0, $r(e), De = !1, ut = null, (R.length || te.length) && un(e);
  }
}
function an(e, t) {
  if (!e.has(t))
    e.set(t, 1);
  else {
    const n = e.get(t);
    if (n > vr) {
      const r = t.ownerInstance, o = r && dt(r.type);
      return _(
        `Maximum recursive updates exceeded${o ? ` in component <${o}>` : ""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`
      ), !0;
    } else
      e.set(t, n + 1);
  }
}
const oe = /* @__PURE__ */ new Set();
process.env.NODE_ENV !== "production" && (He().__VUE_HMR_RUNTIME__ = {
  createRecord: je(Ir),
  rerender: je(Rr),
  reload: je(Pr)
});
const Ie = /* @__PURE__ */ new Map();
function Ir(e, t) {
  return Ie.has(e) ? !1 : (Ie.set(e, {
    initialDef: ce(t),
    instances: /* @__PURE__ */ new Set()
  }), !0);
}
function ce(e) {
  return Sn(e) ? e.__vccOpts : e;
}
function Rr(e, t) {
  const n = Ie.get(e);
  n && (n.initialDef.render = t, [...n.instances].forEach((r) => {
    t && (r.render = t, ce(r.type).render = t), r.renderCache = [], r.update();
  }));
}
function Pr(e, t) {
  const n = Ie.get(e);
  if (!n)
    return;
  t = ce(t), yt(n.initialDef, t);
  const r = [...n.instances];
  for (const o of r) {
    const s = ce(o.type);
    oe.has(s) || (s !== n.initialDef && yt(s, t), oe.add(s)), o.appContext.propsCache.delete(o.type), o.appContext.emitsCache.delete(o.type), o.appContext.optionsCache.delete(o.type), o.ceReload ? (oe.add(s), o.ceReload(t.styles), oe.delete(s)) : o.parent ? at(o.parent.update) : o.appContext.reload ? o.appContext.reload() : typeof window < "u" ? window.location.reload() : console.warn(
      "[HMR] Root or manually mounted instance modified. Full reload required."
    );
  }
  ln(() => {
    for (const o of r)
      oe.delete(
        ce(o.type)
      );
  });
}
function yt(e, t) {
  D(e, t);
  for (const n in e)
    n !== "__file" && !(n in t) && delete e[n];
}
function je(e) {
  return (t, n) => {
    try {
      return e(t, n);
    } catch (r) {
      console.error(r), console.warn(
        "[HMR] Something went wrong during Vue component hot-reload. Full reload required."
      );
    }
  };
}
function Tr(e, ...t) {
}
const Mr = /* @__PURE__ */ Ar(
  "component:updated"
  /* COMPONENT_UPDATED */
);
function Ar(e) {
  return (t) => {
    Tr(
      e,
      t.appContext.app,
      t.uid,
      t.parent ? t.parent.uid : void 0,
      t
    );
  };
}
let b = null, fn = null;
function St(e) {
  const t = b;
  return b = e, fn = e && e.type.__scopeId || null, t;
}
function le(e, t = b, n) {
  if (!t || e._n)
    return e;
  const r = (...o) => {
    r._d && It(-1);
    const s = St(t);
    let i;
    try {
      i = e(...o);
    } finally {
      St(s), r._d && It(1);
    }
    return process.env.NODE_ENV !== "production" && Mr(t), i;
  };
  return r._n = !0, r._c = !0, r._d = !0, r;
}
const Fr = (e) => e.__isSuspense;
function jr(e, t) {
  t && t.pendingBranch ? d(e) ? t.effects.push(...e) : t.effects.push(e) : ln(e);
}
const Oe = {};
function zr(e, t, { immediate: n, deep: r, flush: o, onTrack: s, onTrigger: i } = A) {
  var c;
  process.env.NODE_ENV !== "production" && !t && (n !== void 0 && _(
    'watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'
  ), r !== void 0 && _(
    'watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'
  ));
  const u = (m) => {
    _(
      "Invalid watch source: ",
      m,
      "A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types."
    );
  }, a = Hn() === ((c = B) == null ? void 0 : c.scope) ? B : null;
  let h, l = !1, f = !1;
  if (x(e) ? (h = () => e.value, l = qe(e)) : L(e) ? (h = () => e, r = !0) : d(e) ? (f = !0, l = e.some((m) => L(m) || qe(m)), h = () => e.map((m) => {
    if (x(m))
      return m.value;
    if (L(m))
      return ee(m);
    if (w(m))
      return Y(m, a, 2);
    process.env.NODE_ENV !== "production" && u(m);
  })) : w(e) ? t ? h = () => Y(e, a, 2) : h = () => {
    if (!(a && a.isUnmounted))
      return g && g(), Ge(
        e,
        a,
        3,
        [V]
      );
  } : (h = Mt, process.env.NODE_ENV !== "production" && u(e)), t && r) {
    const m = h;
    h = () => ee(m());
  }
  let g, V = (m) => {
    g = I.onStop = () => {
      Y(m, a, 4);
    };
  }, C = f ? new Array(e.length).fill(Oe) : Oe;
  const U = () => {
    if (I.active)
      if (t) {
        const m = I.run();
        (r || l || (f ? m.some(
          (xn, vn) => $e(xn, C[vn])
        ) : $e(m, C))) && (g && g(), Ge(t, a, 3, [
          m,
          // pass undefined as the old value when it's changed for the first time
          C === Oe ? void 0 : f && C[0] === Oe ? [] : C,
          V
        ]), C = m);
      } else
        I.run();
  };
  U.allowRecurse = !!t;
  let he;
  o === "sync" ? he = U : o === "post" ? he = () => Dt(U, a && a.suspense) : (U.pre = !0, a && (U.id = a.uid), he = () => at(U));
  const I = new Wn(h, he);
  return process.env.NODE_ENV !== "production" && (I.onTrack = s, I.onTrigger = i), t ? n ? U() : C = I.run() : o === "post" ? Dt(
    I.run.bind(I),
    a && a.suspense
  ) : I.run(), () => {
    I.stop(), a && a.scope && In(a.scope.effects, I);
  };
}
function Kr(e, t, n) {
  const r = this.proxy, o = $(e) ? e.includes(".") ? Hr(r, e) : () => r[e] : e.bind(r, r);
  let s;
  w(t) ? s = t : (s = t.handler, n = t);
  const i = B;
  Pt(this);
  const c = zr(o, s.bind(r), n);
  return i ? Pt(i) : so(), c;
}
function Hr(e, t) {
  const n = t.split(".");
  return () => {
    let r = e;
    for (let o = 0; o < n.length && r; o++)
      r = r[n[o]];
    return r;
  };
}
function ee(e, t) {
  if (!N(e) || e.__v_skip || (t = t || /* @__PURE__ */ new Set(), t.has(e)))
    return e;
  if (t.add(e), x(e))
    ee(e.value, t);
  else if (d(e))
    for (let n = 0; n < e.length; n++)
      ee(e[n], t);
  else if (At(e) || W(e))
    e.forEach((n) => {
      ee(n, t);
    });
  else if (zt(e))
    for (const n in e)
      ee(e[n], t);
  return e;
}
function pn(e, t) {
  return w(e) ? (
    // #8326: extend call and options.name access are considered side-effects
    // by Rollup, so we have to wrap it in a pure-annotated IIFE.
    /* @__PURE__ */ (() => D({ name: e.name }, t, { setup: e }))()
  ) : e;
}
const Br = (e) => !!e.type.__asyncLoader, Qe = "components";
function Re(e, t) {
  return Wr(Qe, e, !0, t) || e;
}
const Ur = Symbol.for("v-ndc");
function Wr(e, t, n = !0, r = !1) {
  const o = b || B;
  if (o) {
    const s = o.type;
    if (e === Qe) {
      const c = dt(
        s,
        !1
        /* do not include inferred name to avoid breaking existing code */
      );
      if (c && (c === t || c === Ve(t) || c === Ce(Ve(t))))
        return s;
    }
    const i = (
      // local registration
      // check instance[type] first which is resolved for options API
      xt(o[e] || s[e], t) || // global registration
      xt(o.appContext[e], t)
    );
    if (!i && r)
      return s;
    if (process.env.NODE_ENV !== "production" && n && !i) {
      const c = e === Qe ? `
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.` : "";
      _(`Failed to resolve ${e.slice(0, -1)}: ${t}${c}`);
    }
    return i;
  } else
    process.env.NODE_ENV !== "production" && _(
      `resolve${Ce(e.slice(0, -1))} can only be used in render() or setup().`
    );
}
function xt(e, t) {
  return e && (e[t] || e[Ve(t)] || e[Ce(Ve(t))]);
}
function dn(e, t, n, r) {
  let o;
  const s = n && n[r];
  if (d(e) || $(e)) {
    o = new Array(e.length);
    for (let i = 0, c = e.length; i < c; i++)
      o[i] = t(e[i], i, void 0, s && s[i]);
  } else if (typeof e == "number") {
    process.env.NODE_ENV !== "production" && !Number.isInteger(e) && _(`The v-for range expect an integer value but got ${e}.`), o = new Array(e);
    for (let i = 0; i < e; i++)
      o[i] = t(i + 1, i, void 0, s && s[i]);
  } else if (N(e))
    if (e[Symbol.iterator])
      o = Array.from(
        e,
        (i, c) => t(i, c, void 0, s && s[c])
      );
    else {
      const i = Object.keys(e);
      o = new Array(i.length);
      for (let c = 0, u = i.length; c < u; c++) {
        const a = i[c];
        o[c] = t(e[a], a, c, s && s[c]);
      }
    }
  else
    o = [];
  return n && (n[r] = o), o;
}
function Jr(e, t) {
  for (let n = 0; n < t.length; n++) {
    const r = t[n];
    if (d(r))
      for (let o = 0; o < r.length; o++)
        e[r[o].name] = r[o].fn;
    else
      r && (e[r.name] = r.key ? (...o) => {
        const s = r.fn(...o);
        return s && (s.key = r.key), s;
      } : r.fn);
  }
  return e;
}
function Z(e, t, n = {}, r, o) {
  if (b.isCE || b.parent && Br(b.parent) && b.parent.isCE)
    return t !== "default" && (n.name = t), ne("slot", n, r && r());
  let s = e[t];
  process.env.NODE_ENV !== "production" && s && s.length > 1 && (_(
    "SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."
  ), s = () => []), s && s._c && (s._d = !1), S();
  const i = s && hn(s(n)), c = de(
    re,
    {
      key: n.key || // slot content array of a dynamic conditional slot may have a branch
      // key attached in the `createSlots` helper, respect that
      i && i.key || `_${t}`
    },
    i || (r ? r() : []),
    i && e._ === 1 ? 64 : -2
  );
  return !o && c.scopeId && (c.slotScopeIds = [c.scopeId + "-s"]), s && s._c && (s._d = !0), c;
}
function hn(e) {
  return e.some((t) => mn(t) ? !(t.type === Te || t.type === re && !hn(t.children)) : !0) ? e : null;
}
const Xe = (e) => e ? io(e) ? uo(e) || e.proxy : Xe(e.parent) : null, ue = (
  // Move PURE marker to new line to workaround compiler discarding it
  // due to type annotation
  /* @__PURE__ */ D(/* @__PURE__ */ Object.create(null), {
    $: (e) => e,
    $el: (e) => e.vnode.el,
    $data: (e) => e.data,
    $props: (e) => process.env.NODE_ENV !== "production" ? we(e.props) : e.props,
    $attrs: (e) => process.env.NODE_ENV !== "production" ? we(e.attrs) : e.attrs,
    $slots: (e) => process.env.NODE_ENV !== "production" ? we(e.slots) : e.slots,
    $refs: (e) => process.env.NODE_ENV !== "production" ? we(e.refs) : e.refs,
    $parent: (e) => Xe(e.parent),
    $root: (e) => Xe(e.root),
    $emit: (e) => e.emit,
    $options: (e) => Yr(e),
    $forceUpdate: (e) => e.f || (e.f = () => at(e.update)),
    $nextTick: (e) => e.n || (e.n = Vr.bind(e.proxy)),
    $watch: (e) => Kr.bind(e)
  })
), qr = (e) => e === "_" || e === "$", ze = (e, t) => e !== A && !e.__isScriptSetup && E(e, t), Lr = {
  get({ _: e }, t) {
    const { ctx: n, setupState: r, data: o, props: s, accessCache: i, type: c, appContext: u } = e;
    if (process.env.NODE_ENV !== "production" && t === "__isVue")
      return !0;
    let a;
    if (t[0] !== "$") {
      const g = i[t];
      if (g !== void 0)
        switch (g) {
          case 1:
            return r[t];
          case 2:
            return o[t];
          case 4:
            return n[t];
          case 3:
            return s[t];
        }
      else {
        if (ze(r, t))
          return i[t] = 1, r[t];
        if (o !== A && E(o, t))
          return i[t] = 2, o[t];
        if (
          // only cache other properties when instance has declared (thus stable)
          // props
          (a = e.propsOptions[0]) && E(a, t)
        )
          return i[t] = 3, s[t];
        if (n !== A && E(n, t))
          return i[t] = 4, n[t];
        i[t] = 0;
      }
    }
    const h = ue[t];
    let l, f;
    if (h)
      return t === "$attrs" ? (O(e, "get", t), process.env.NODE_ENV !== "production" && void 0) : process.env.NODE_ENV !== "production" && t === "$slots" && O(e, "get", t), h(e);
    if (
      // css module (injected by vue-loader)
      (l = c.__cssModules) && (l = l[t])
    )
      return l;
    if (n !== A && E(n, t))
      return i[t] = 4, n[t];
    if (
      // global properties
      f = u.config.globalProperties, E(f, t)
    )
      return f[t];
    process.env.NODE_ENV !== "production" && b && (!$(t) || // #1091 avoid internal isRef/isVNode checks on component instance leading
    // to infinite warning loop
    t.indexOf("__v") !== 0) && (o !== A && qr(t[0]) && E(o, t) ? _(
      `Property ${JSON.stringify(
        t
      )} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`
    ) : e === b && _(
      `Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`
    ));
  },
  set({ _: e }, t, n) {
    const { data: r, setupState: o, ctx: s } = e;
    return ze(o, t) ? (o[t] = n, !0) : process.env.NODE_ENV !== "production" && o.__isScriptSetup && E(o, t) ? (_(`Cannot mutate <script setup> binding "${t}" from Options API.`), !1) : r !== A && E(r, t) ? (r[t] = n, !0) : E(e.props, t) ? (process.env.NODE_ENV !== "production" && _(`Attempting to mutate prop "${t}". Props are readonly.`), !1) : t[0] === "$" && t.slice(1) in e ? (process.env.NODE_ENV !== "production" && _(
      `Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`
    ), !1) : (process.env.NODE_ENV !== "production" && t in e.appContext.config.globalProperties ? Object.defineProperty(s, t, {
      enumerable: !0,
      configurable: !0,
      value: n
    }) : s[t] = n, !0);
  },
  has({
    _: { data: e, setupState: t, accessCache: n, ctx: r, appContext: o, propsOptions: s }
  }, i) {
    let c;
    return !!n[i] || e !== A && E(e, i) || ze(t, i) || (c = s[0]) && E(c, i) || E(r, i) || E(ue, i) || E(o.config.globalProperties, i);
  },
  defineProperty(e, t, n) {
    return n.get != null ? e._.accessCache[t] = 0 : E(n, "value") && this.set(e, t, n.value, null), Reflect.defineProperty(e, t, n);
  }
};
process.env.NODE_ENV !== "production" && (Lr.ownKeys = (e) => (_(
  "Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."
), Reflect.ownKeys(e)));
function _n() {
  return Gr().slots;
}
function Gr() {
  const e = oo();
  return process.env.NODE_ENV !== "production" && !e && _("useContext() called without active instance."), e.setupContext || (e.setupContext = lo(e));
}
function vt(e) {
  return d(e) ? e.reduce(
    (t, n) => (t[n] = null, t),
    {}
  ) : e;
}
function Yr(e) {
  const t = e.type, { mixins: n, extends: r } = t, {
    mixins: o,
    optionsCache: s,
    config: { optionMergeStrategies: i }
  } = e.appContext, c = s.get(t);
  let u;
  return c ? u = c : !o.length && !n && !r ? u = t : (u = {}, o.length && o.forEach(
    (a) => Pe(u, a, i, !0)
  ), Pe(u, t, i)), N(t) && s.set(t, u), u;
}
function Pe(e, t, n, r = !1) {
  const { mixins: o, extends: s } = t;
  s && Pe(e, s, n, !0), o && o.forEach(
    (i) => Pe(e, i, n, !0)
  );
  for (const i in t)
    if (r && i === "expose")
      process.env.NODE_ENV !== "production" && _(
        '"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.'
      );
    else {
      const c = Qr[i] || n && n[i];
      e[i] = c ? c(e[i], t[i]) : t[i];
    }
  return e;
}
const Qr = {
  data: Vt,
  props: $t,
  emits: $t,
  // objects
  methods: ie,
  computed: ie,
  // lifecycle
  beforeCreate: y,
  created: y,
  beforeMount: y,
  mounted: y,
  beforeUpdate: y,
  updated: y,
  beforeDestroy: y,
  beforeUnmount: y,
  destroyed: y,
  unmounted: y,
  activated: y,
  deactivated: y,
  errorCaptured: y,
  serverPrefetch: y,
  // assets
  components: ie,
  directives: ie,
  // watch
  watch: Zr,
  // provide / inject
  provide: Vt,
  inject: Xr
};
function Vt(e, t) {
  return t ? e ? function() {
    return D(
      w(e) ? e.call(this, this) : e,
      w(t) ? t.call(this, this) : t
    );
  } : t : e;
}
function Xr(e, t) {
  return ie(Ct(e), Ct(t));
}
function Ct(e) {
  if (d(e)) {
    const t = {};
    for (let n = 0; n < e.length; n++)
      t[e[n]] = e[n];
    return t;
  }
  return e;
}
function y(e, t) {
  return e ? [...new Set([].concat(e, t))] : t;
}
function ie(e, t) {
  return e ? D(/* @__PURE__ */ Object.create(null), e, t) : t;
}
function $t(e, t) {
  return e ? d(e) && d(t) ? [.../* @__PURE__ */ new Set([...e, ...t])] : D(
    /* @__PURE__ */ Object.create(null),
    vt(e),
    vt(t ?? {})
  ) : t;
}
function Zr(e, t) {
  if (!e)
    return t;
  if (!t)
    return e;
  const n = D(/* @__PURE__ */ Object.create(null), e);
  for (const r in t)
    n[r] = y(e[r], t[r]);
  return n;
}
const Dt = jr, kr = (e) => e.__isTeleport, re = Symbol.for("v-fgt"), eo = Symbol.for("v-txt"), Te = Symbol.for("v-cmt"), xe = [];
let P = null;
function S(e = !1) {
  xe.push(P = e ? null : []);
}
function to() {
  xe.pop(), P = xe[xe.length - 1] || null;
}
let pe = 1;
function It(e) {
  pe += e;
}
function gn(e) {
  return e.dynamicChildren = pe > 0 ? P || Cn : null, to(), pe > 0 && P && P.push(e), e;
}
function M(e, t, n, r, o, s) {
  return gn(
    ae(
      e,
      t,
      n,
      r,
      o,
      s,
      !0
      /* isBlock */
    )
  );
}
function de(e, t, n, r, o) {
  return gn(
    ne(
      e,
      t,
      n,
      r,
      o,
      !0
      /* isBlock: prevent a block from tracking itself */
    )
  );
}
function mn(e) {
  return e ? e.__v_isVNode === !0 : !1;
}
const no = (...e) => Nn(
  ...e
), En = "__vInternal", bn = ({ key: e }) => e ?? null, ve = ({
  ref: e,
  ref_key: t,
  ref_for: n
}) => (typeof e == "number" && (e = "" + e), e != null ? $(e) || x(e) || w(e) ? { i: b, r: e, k: t, f: !!n } : e : null);
function ae(e, t = null, n = null, r = 0, o = null, s = e === re ? 0 : 1, i = !1, c = !1) {
  const u = {
    __v_isVNode: !0,
    __v_skip: !0,
    type: e,
    props: t,
    key: t && bn(t),
    ref: t && ve(t),
    scopeId: fn,
    slotScopeIds: null,
    children: n,
    component: null,
    suspense: null,
    ssContent: null,
    ssFallback: null,
    dirs: null,
    transition: null,
    el: null,
    anchor: null,
    target: null,
    targetAnchor: null,
    staticCount: 0,
    shapeFlag: s,
    patchFlag: r,
    dynamicProps: o,
    dynamicChildren: null,
    appContext: null,
    ctx: b
  };
  return c ? (ft(u, n), s & 128 && e.normalize(u)) : n && (u.shapeFlag |= $(n) ? 8 : 16), process.env.NODE_ENV !== "production" && u.key !== u.key && _("VNode created with invalid key (NaN). VNode type:", u.type), pe > 0 && // avoid a block node from tracking itself
  !i && // has current parent block
  P && // presence of a patch flag indicates this node needs patching on updates.
  // component nodes also should always be patched, because even if the
  // component doesn't need to update, it needs to persist the instance on to
  // the next vnode so that it can be properly unmounted later.
  (u.patchFlag > 0 || s & 6) && // the EVENTS flag is only for hydration and if it is the only flag, the
  // vnode should not be considered dynamic due to handler caching.
  u.patchFlag !== 32 && P.push(u), u;
}
const ne = process.env.NODE_ENV !== "production" ? no : Nn;
function Nn(e, t = null, n = null, r = 0, o = null, s = !1) {
  if ((!e || e === Ur) && (process.env.NODE_ENV !== "production" && !e && _(`Invalid vnode type when creating vnode: ${e}.`), e = Te), mn(e)) {
    const c = Me(
      e,
      t,
      !0
      /* mergeRef: true */
    );
    return n && ft(c, n), pe > 0 && !s && P && (c.shapeFlag & 6 ? P[P.indexOf(e)] = c : P.push(c)), c.patchFlag |= -2, c;
  }
  if (Sn(e) && (e = e.__vccOpts), t) {
    t = ro(t);
    let { class: c, style: u } = t;
    c && !$(c) && (t.class = nt(c)), N(u) && (Le(u) && !d(u) && (u = D({}, u)), t.style = tt(u));
  }
  const i = $(e) ? 1 : Fr(e) ? 128 : kr(e) ? 64 : N(e) ? 4 : w(e) ? 2 : 0;
  return process.env.NODE_ENV !== "production" && i & 4 && Le(e) && (e = p(e), _(
    "Vue received a Component which was made a reactive object. This can lead to unnecessary performance overhead, and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",
    `
Component that was made reactive: `,
    e
  )), ae(
    e,
    t,
    n,
    r,
    o,
    i,
    s,
    !0
  );
}
function ro(e) {
  return e ? Le(e) || En in e ? D({}, e) : e : null;
}
function Me(e, t, n = !1) {
  const { props: r, ref: o, patchFlag: s, children: i } = e, c = t ? Ze(r || {}, t) : r;
  return {
    __v_isVNode: !0,
    __v_skip: !0,
    type: e.type,
    props: c,
    key: c && bn(c),
    ref: t && t.ref ? (
      // #2078 in the case of <component :is="vnode" ref="extra"/>
      // if the vnode itself already has a ref, cloneVNode will need to merge
      // the refs so the single vnode can be set on multiple refs
      n && o ? d(o) ? o.concat(ve(t)) : [o, ve(t)] : ve(t)
    ) : o,
    scopeId: e.scopeId,
    slotScopeIds: e.slotScopeIds,
    children: process.env.NODE_ENV !== "production" && s === -1 && d(i) ? i.map(wn) : i,
    target: e.target,
    targetAnchor: e.targetAnchor,
    staticCount: e.staticCount,
    shapeFlag: e.shapeFlag,
    // if the vnode is cloned with extra props, we can no longer assume its
    // existing patch flag to be reliable and need to add the FULL_PROPS flag.
    // note: preserve flag for fragments since they use the flag for children
    // fast paths only.
    patchFlag: t && e.type !== re ? s === -1 ? 16 : s | 16 : s,
    dynamicProps: e.dynamicProps,
    dynamicChildren: e.dynamicChildren,
    appContext: e.appContext,
    dirs: e.dirs,
    transition: e.transition,
    // These should technically only be non-null on mounted VNodes. However,
    // they *should* be copied for kept-alive vnodes. So we just always copy
    // them since them being non-null during a mount doesn't affect the logic as
    // they will simply be overwritten.
    component: e.component,
    suspense: e.suspense,
    ssContent: e.ssContent && Me(e.ssContent),
    ssFallback: e.ssFallback && Me(e.ssFallback),
    el: e.el,
    anchor: e.anchor,
    ctx: e.ctx,
    ce: e.ce
  };
}
function wn(e) {
  const t = Me(e);
  return d(e.children) && (t.children = e.children.map(wn)), t;
}
function On(e = " ", t = 0) {
  return ne(eo, null, e, t);
}
function ye(e = "", t = !1) {
  return t ? (S(), de(Te, null, e)) : ne(Te, null, e);
}
function ft(e, t) {
  let n = 0;
  const { shapeFlag: r } = e;
  if (t == null)
    t = null;
  else if (d(t))
    n = 16;
  else if (typeof t == "object")
    if (r & 65) {
      const o = t.default;
      o && (o._c && (o._d = !1), ft(e, o()), o._c && (o._d = !0));
      return;
    } else {
      n = 32;
      const o = t._;
      !o && !(En in t) ? t._ctx = b : o === 3 && b && (b.slots._ === 1 ? t._ = 1 : (t._ = 2, e.patchFlag |= 1024));
    }
  else
    w(t) ? (t = { default: t, _ctx: b }, n = 32) : (t = String(t), r & 64 ? (n = 16, t = [On(t)]) : n = 8);
  e.children = t, e.shapeFlag |= n;
}
function Ze(...e) {
  const t = {};
  for (let n = 0; n < e.length; n++) {
    const r = e[n];
    for (const o in r)
      if (o === "class")
        t.class !== r.class && (t.class = nt([t.class, r.class]));
      else if (o === "style")
        t.style = tt([t.style, r.style]);
      else if (Dn(o)) {
        const s = t[o], i = r[o];
        i && s !== i && !(d(s) && s.includes(i)) && (t[o] = s ? [].concat(s, i) : i);
      } else
        o !== "" && (t[o] = r[o]);
  }
  return t;
}
let B = null;
const oo = () => B || b;
let pt, X, Rt = "__VUE_INSTANCE_SETTERS__";
(X = He()[Rt]) || (X = He()[Rt] = []), X.push((e) => B = e), pt = (e) => {
  X.length > 1 ? X.forEach((t) => t(e)) : X[0](e);
};
const Pt = (e) => {
  pt(e), e.scope.on();
}, so = () => {
  B && B.scope.off(), pt(null);
};
function io(e) {
  return e.vnode.shapeFlag & 4;
}
function Tt(e) {
  return e.attrsProxy || (e.attrsProxy = new Proxy(
    e.attrs,
    process.env.NODE_ENV !== "production" ? {
      get(t, n) {
        return O(e, "get", "$attrs"), t[n];
      },
      set() {
        return _("setupContext.attrs is readonly."), !1;
      },
      deleteProperty() {
        return _("setupContext.attrs is readonly."), !1;
      }
    } : {
      get(t, n) {
        return O(e, "get", "$attrs"), t[n];
      }
    }
  ));
}
function co(e) {
  return e.slotsProxy || (e.slotsProxy = new Proxy(e.slots, {
    get(t, n) {
      return O(e, "get", "$slots"), t[n];
    }
  }));
}
function lo(e) {
  const t = (n) => {
    if (process.env.NODE_ENV !== "production" && (e.exposed && _("expose() should be called only once per setup()."), n != null)) {
      let r = typeof n;
      r === "object" && (d(n) ? r = "array" : x(n) && (r = "ref")), r !== "object" && _(
        `expose() should be passed a plain object, received ${r}.`
      );
    }
    e.exposed = n || {};
  };
  return process.env.NODE_ENV !== "production" ? Object.freeze({
    get attrs() {
      return Tt(e);
    },
    get slots() {
      return co(e);
    },
    get emit() {
      return (n, ...r) => e.emit(n, ...r);
    },
    expose: t
  }) : {
    get attrs() {
      return Tt(e);
    },
    slots: e.slots,
    emit: e.emit,
    expose: t
  };
}
function uo(e) {
  if (e.exposed)
    return e.exposeProxy || (e.exposeProxy = new Proxy(Er(gr(e.exposed)), {
      get(t, n) {
        if (n in t)
          return t[n];
        if (n in ue)
          return ue[n](e);
      },
      has(t, n) {
        return n in t || n in ue;
      }
    }));
}
const ao = /(?:^|[-_])(\w)/g, fo = (e) => e.replace(ao, (t) => t.toUpperCase()).replace(/[-_]/g, "");
function dt(e, t = !0) {
  return w(e) ? e.displayName || e.name : e.name || t && e.__name;
}
function yn(e, t, n = !1) {
  let r = dt(t);
  if (!r && t.__file) {
    const o = t.__file.match(/([^/\\]+)\.\w+$/);
    o && (r = o[1]);
  }
  if (!r && e && e.parent) {
    const o = (s) => {
      for (const i in s)
        if (s[i] === t)
          return i;
    };
    r = o(
      e.components || e.parent.type.components
    ) || o(e.appContext.components);
  }
  return r ? fo(r) : n ? "App" : "Anonymous";
}
function Sn(e) {
  return w(e) && "__vccOpts" in e;
}
function Ke(e) {
  return !!(e && e.__v_isShallow);
}
function po() {
  if (process.env.NODE_ENV === "production" || typeof window > "u")
    return;
  const e = { style: "color:#3ba776" }, t = { style: "color:#0b1bc9" }, n = { style: "color:#b62e24" }, r = { style: "color:#9d288c" }, o = {
    header(l) {
      return N(l) ? l.__isVue ? ["div", e, "VueInstance"] : x(l) ? [
        "div",
        {},
        ["span", e, h(l)],
        "<",
        c(l.value),
        ">"
      ] : L(l) ? [
        "div",
        {},
        ["span", e, Ke(l) ? "ShallowReactive" : "Reactive"],
        "<",
        c(l),
        `>${Q(l) ? " (readonly)" : ""}`
      ] : Q(l) ? [
        "div",
        {},
        ["span", e, Ke(l) ? "ShallowReadonly" : "Readonly"],
        "<",
        c(l),
        ">"
      ] : null : null;
    },
    hasBody(l) {
      return l && l.__isVue;
    },
    body(l) {
      if (l && l.__isVue)
        return [
          "div",
          {},
          ...s(l.$)
        ];
    }
  };
  function s(l) {
    const f = [];
    l.type.props && l.props && f.push(i("props", p(l.props))), l.setupState !== A && f.push(i("setup", l.setupState)), l.data !== A && f.push(i("data", p(l.data)));
    const g = u(l, "computed");
    g && f.push(i("computed", g));
    const V = u(l, "inject");
    return V && f.push(i("injected", V)), f.push([
      "div",
      {},
      [
        "span",
        {
          style: r.style + ";opacity:0.66"
        },
        "$ (internal): "
      ],
      ["object", { object: l }]
    ]), f;
  }
  function i(l, f) {
    return f = D({}, f), Object.keys(f).length ? [
      "div",
      { style: "line-height:1.25em;margin-bottom:0.6em" },
      [
        "div",
        {
          style: "color:#476582"
        },
        l
      ],
      [
        "div",
        {
          style: "padding-left:1.25em"
        },
        ...Object.keys(f).map((g) => [
          "div",
          {},
          ["span", r, g + ": "],
          c(f[g], !1)
        ])
      ]
    ] : ["span", {}];
  }
  function c(l, f = !0) {
    return typeof l == "number" ? ["span", t, l] : typeof l == "string" ? ["span", n, JSON.stringify(l)] : typeof l == "boolean" ? ["span", r, l] : N(l) ? ["object", { object: f ? p(l) : l }] : ["span", n, String(l)];
  }
  function u(l, f) {
    const g = l.type;
    if (w(g))
      return;
    const V = {};
    for (const C in l.ctx)
      a(g, C, f) && (V[C] = l.ctx[C]);
    return V;
  }
  function a(l, f, g) {
    const V = l[g];
    if (d(V) && V.includes(f) || N(V) && f in V || l.extends && a(l.extends, f, g) || l.mixins && l.mixins.some((C) => a(C, f, g)))
      return !0;
  }
  function h(l) {
    return Ke(l) ? "ShallowRef" : l.effect ? "ComputedRef" : "Ref";
  }
  window.devtoolsFormatters ? window.devtoolsFormatters.push(o) : window.devtoolsFormatters = [o];
}
function ho() {
  po();
}
process.env.NODE_ENV !== "production" && ho();
const _o = {
  key: 0,
  class: "pro-tabs-content"
}, go = /* @__PURE__ */ pn({
  __name: "index",
  props: {
    tabs: {},
    request: { type: Function },
    tabsAttrs: {},
    defaultValue: {}
  },
  setup(e) {
    const t = e, n = _n();
    return (r, o) => {
      const s = Re("t-tab-panel"), i = Re("t-tabs");
      return S(), de(i, Ze({
        defaultValue: t.defaultValue
      }, t.tabsAttrs), {
        default: le(() => [
          (S(!0), M(re, null, dn(t.tabs, (c) => (S(), de(s, Ze(c.tabPanelAttrs, {
            value: c.key,
            label: c.label
          }), {
            default: le(() => [
              k(n).default ? Z(r.$slots, "default", {
                key: c.key
              }) : (S(), M("p", _o, Se(c.children), 1))
            ]),
            _: 2
          }, 1040, ["value", "label"]))), 256))
        ]),
        _: 3
      }, 16, ["defaultValue"]);
    };
  }
});
const mo = { class: "page-container" }, Eo = {
  key: 0,
  class: "page-container-bread"
}, bo = {
  key: 1,
  class: "page-container-title"
}, No = { key: 0 }, wo = {
  key: 2,
  class: "page-container-content"
}, Oo = { key: 0 }, yo = {
  key: 3,
  class: "page-container-tabs"
}, So = { class: "page-container-footer" }, xo = /* @__PURE__ */ pn({
  __name: "index",
  props: {
    title: {},
    tabs: {},
    content: {},
    tabKey: {},
    tabsAttrs: { default: () => ({}) },
    hideBread: { type: Boolean },
    hideTitle: { type: Boolean },
    breads: {},
    hideFooter: { type: Boolean },
    tabDefaultValue: {}
  },
  setup(e) {
    const t = e, n = _n();
    return (r, o) => {
      const s = Re("t-breadcrumbItem"), i = Re("t-breadcrumb");
      return S(), M("div", mo, [
        t.hideBread ? ye("", !0) : (S(), M("div", Eo, [
          ne(i, null, {
            default: le(() => [
              (S(!0), M(re, null, dn(t.breads, (c) => (S(), de(s, {
                to: c.path,
                href: c.href,
                target: c.target,
                disabled: c.disabled,
                replace: c.replace
              }, {
                default: le(() => [
                  On(Se(c.text), 1)
                ]),
                _: 2
              }, 1032, ["to", "href", "target", "disabled", "replace"]))), 256))
            ]),
            _: 1
          })
        ])),
        !t.hideTitle || t.title ? (S(), M("div", bo, [
          ae("div", null, [
            k(n).title ? Z(r.$slots, "title", { key: 1 }) : (S(), M("span", No, Se(t.title), 1))
          ]),
          ae("div", null, [
            Z(r.$slots, "actions")
          ])
        ])) : ye("", !0),
        t.content || k(n).content ? (S(), M("div", wo, [
          k(n).content ? Z(r.$slots, "content", { key: 1 }) : (S(), M("span", Oo, Se(t.content), 1))
        ])) : ye("", !0),
        t.tabs ? (S(), M("div", yo, [
          ne(go, {
            defaultValue: t.tabDefaultValue,
            tabAttrs: t.tabsAttrs,
            tabs: t.tabs
          }, Jr({ _: 2 }, [
            k(n).tabContent ? {
              name: "default",
              fn: le(({ key: c }) => [
                Z(r.$slots, "tabContent", { key: c })
              ]),
              key: "0"
            } : void 0
          ]), 1032, ["defaultValue", "tabAttrs", "tabs"])
        ])) : ye("", !0),
        ae("div", So, [
          Z(r.$slots, "footer")
        ])
      ]);
    };
  }
});
const Vo = {
  install(e) {
    e.component("PageContainer", xo);
  }
};
export {
  Vo as default
};
